﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;

namespace BLL
{    
    /// <summary>
    /// 业务逻辑操作类
    /// </summary>
    public class BusinessLogic
    {
        private UserInfo user;  //定义用户数据访问类对象user
        public BusinessLogic()
        {
            user = new UserInfo();//实例化UserInfo用户数据访问类
        }
        // 用户登录业务逻辑实现
        public bool UserLogin(string userid, string password)
        {
            return user.UserLogin(userid, password);
        }
    }
}
